home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1995 April / Internet Tools.iso / infoserv / www / cern / dev / www-talk.9301-9306.Z / www-talk.9301-9306 / text0783.txt < prev    next >
Encoding:
Text File  |  1995-04-24  |  2.0 KB  |  54 lines

  1. I would like brave alpha testers of the 2.0 www code, in particular  
  2. of the multimedia bits.
  3.  
  4. The 2.0 libwww, line mode client and the server are on
  5. ftp://info.cern.ch/pub/www/src now.   The library will handle  
  6. multiple types of the same document when resolving links to
  7. imaginary files called xxx.multi -- it will return xxx.ps or xxx.txt  
  8. or xxx.gif depending on what the client can handle.
  9.  
  10. The bug in the server release that it didn't contain and code is  
  11. fixed!
  12.  
  13. The tables of suffixes are in the c code (*Init.c) for now.
  14. Note they can be quite different on client and server. See  
  15. HTFormat.h, HTFile.h for routines to add configuation info
  16. from your specific app code.
  17.  
  18. The current tables excpet ghostview and xv to be available
  19. if DISPLAY is defined (for X) or the usual plethora of
  20. image-handling apps on the NeXT [RIP].
  21.  
  22. Servers:  Note the rule file must now translate from a string
  23. starting without protocol or nodename (as transferred in HTTP)
  24. into a URI -- that is, you have to put file: onto the front
  25. of all the filenames like:
  26.  
  27. #    HTTPD config file
  28. #
  29. map     /         /hypertext/WWW/LineMode/Defaults/cern.html
  30. map     /hypertext/* file://www3/Net/dxcern/userd/timbl/hypertext/*
  31. pass    file://www3/Net/dxcern/userd/timbl/hypertext/*
  32. fail     *
  33.  
  34. You may see the implicatioon of this that you can map into
  35. other spaces, and yes, that is right -- like you can map bits of
  36. your http space into news of ftp or gopher or whatever. In other
  37. words, the server works as a gateway to everything the client can
  38. handle.  (Note gatewaying news: is not strictly legal I think)
  39.  
  40. This means you turn virtually anything into HTML.  But I haven't got
  41. www command line options fixed up yet.
  42.  
  43. Directory listings are not sorted yet, but they do get README
  44. put in (not for FTP directories, but for local ones).  As the
  45. server and client code are the same, you can use a www client as
  46. a directory browser.
  47.  
  48. Please let me know if you take this code and try it.  The important
  49. thing is for client developers to check out the interfaces.
  50.  
  51. Tim
  52.  
  53.  
  54.